class CollectionUtils {

    /**
     * 判断是否为空
     *
     * @author 徐寿春
     * 2023/4/4 13:40
     */
    static isEmpty(collect: any []) {
        return collect.length == 0
    }

    /**
     * 判断是否不为空
     *
     * @author 徐寿春
     * 2023/4/4 13:40
     */
    static isNotEmpty(collect: any []) {
        return collect && collect.length > 0

    }
}

let collectionUtils = new CollectionUtils();
export default collectionUtils;